// import { defineConfig } from 'vite'
// import vue from '@vitejs/plugin-vue'

// // https://vite.dev/config/
// export default defineConfig({
//   plugins: [vue()],
// })

import vue from '@vitejs/plugin-vue';
import Components from 'unplugin-vue-components/vite';
import { VantResolver } from 'unplugin-vue-components/resolvers';
import { vitePluginForArco } from '@arco-plugins/vite-vue'
export default {
  plugins: [
    vue(),
    Components({ //vant
      resolvers: [VantResolver()],
    }),
    vitePluginForArco({ //arco
      style: 'css'
    })
  ],
};
